//
//  PictureViewCell.swift
//  ZQWeibo
//
//  Created by summer的Dad on 16/11/17.
//  Copyright © 2016年 summer的Dad. All rights reserved.
//

import UIKit

class PictureViewCell: UICollectionViewCell {

    @IBOutlet weak var UIimageView: UIImageView!
    
    @IBOutlet weak var image_Gif: UIImageView!
    
    
            var pictureInfo : ZQPictureInfo? {
                didSet{
               
    
                    UIimageView.sd_setImage(with: pictureInfo?.imaURL)
                    
                    image_Gif.isHidden = !(pictureInfo?.thumbnail_pic?.hasSuffix("gif"))!
                    
                    
                }
            }
   
    override func awakeFromNib() {
        super.awakeFromNib()
        

        
    }

}
